package com.gelsanalyzer.business;

public abstract class AbstractUser implements User {
    protected String firstName;
    protected String lastName;
    protected boolean authenticated;
    
    /**
     * @param firstName
     * @param lastName
     */
    public AbstractUser(String firstName, String lastName) {
        this.firstName = firstName;
        this.lastName = lastName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getFirstName() {
        return firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public boolean isAuthenticated() {
        return authenticated;    
    }
    
    public abstract boolean Authenticate(String password);

}